草庐IT

grounding dino

全部标签

Stable Diffusion - 扩展 SegmentAnything 和 GroundingDINO 实例分割算法 插件的配置与使用

欢迎关注我的CSDN:https://spike.blog.csdn.net/本文地址:https://blog.csdn.net/caroline_wendy/article/details/131918652PaperandGitHub:SegmentAnything:SAM-SegmentAnythingGitHub:https://github.com/facebookresearch/segment-anythingGroundingDINO:GroundingDINO:MarryingDINOwithGroundedPre-TrainingforOpen-SetObjectDete

debug: NameError: name ‘_C‘ is not defined 本地运行 GroundingDINO 代码 debug 记录

在本地跑GroundingDINO代码(github)首先down下来代码:gitclonehttps://github.com/IDEA-Research/GroundingDINO.git然后跟着readme走,先下载预训练参数放到./weight文件夹:mkdirweightscdweightswget-qhttps://github.com/IDEA-Research/GroundingDINO/releases/download/v0.1.0-alpha/groundingdino_swint_ogc.pth然后新开一个py文件,复制readme上的代码运行:fromgroundin